package com.xh.bussiness.weixin.service;

import cn.hutool.json.JSONObject;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * @author Pitt Cheung
 * @date 2021/7/15 15:07
 */
public interface IWeixinService {

    String getWeixinToken();

    /**
     * @param accessToken token
     * @param pageUrl 小程序页面路径
     * @param scene 携带参数
     * 获取微信跳转页面二维码
     *
     * @return
     */
    String wxaCode(HttpServletRequest request ,String accessToken, String pageUrl, String scene);

    String wxTicket(String token);

    Map<String, Object> getWxSignature(String url);

}
